home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmCreateSimpleRadioBox.z / XmCreateSimpleRadioBox
Encoding:
Text File  |  2003-11-18  |  3.3 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeRRRRaaaaddddiiiiooooBBBBooooxxxx((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeRRRRaaaaddddiiiiooooBBBBooooxxxx((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_C_r_e_a_t_e_S_i_m_p_l_e_R_a_d_i_o_B_o_x - A RowColumn widget convenience
  10.       creation function
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/RowColumn.h>
  14.  
  15.       Widget XmCreateSimpleRadioBox    (ppppaaaarrrreeeennnntttt,,,, nnnnaaaammmmeeee,,,, aaaarrrrgggglllliiiisssstttt,,,,    aaaarrrrggggccccoooouuuunnnntttt)
  16.            _W_i_d_g_e_t     ppppaaaarrrreeeennnntttt;
  17.            _S_t_r_i_n_g     nnnnaaaammmmeeee;
  18.            _A_r_g_L_i_s_t     aaaarrrrgggglllliiiisssstttt;
  19.            _C_a_r_d_i_n_a_l     aaaarrrrggggccccoooouuuunnnntttt;
  20.  
  21.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.       _X_m_C_r_e_a_t_e_S_i_m_p_l_e_R_a_d_i_o_B_o_x creates an instance of    a RowColumn
  23.       widget of type _X_m_W_O_R_K__A_R_E_A and returns the associated    widget
  24.       ID.
  25.  
  26.       This routine creates a Radio Box and its ToggleButtonGadget
  27.       children.  The name of each button is    button_nnnn, where    nnnn is
  28.       an integer from 0 to one minus the number of buttons in the
  29.       menu.     Buttons are named and created in the order in which
  30.       they are specified in    the RowColumn simple menu creation
  31.       resources supplied in    the argument list.
  32.  
  33.       ppppaaaarrrreeeennnntttt
  34.            Specifies the parent widget ID
  35.  
  36.       nnnnaaaammmmeeee Specifies the name of the created widget
  37.  
  38.       aaaarrrrgggglllliiiisssstttt
  39.            Specifies the argument list
  40.  
  41.       aaaarrrrggggccccoooouuuunnnntttt
  42.            Specifies the number of attribute/value pairs in    the
  43.            argument    list (aaaarrrrgggglllliiiisssstttt)
  44.  
  45.       A number of resources    exist specifically for use with    this
  46.       and other simple menu    creation routines.  The    only button
  47.       type allowed in the _X_m_N_b_u_t_t_o_n_T_y_p_e resource is    _X_m_R_A_D_I_O_B_U_T_T_O_N.
  48.       For a    complete definition of RowColumn and its associated
  49.       resources, see _X_m_R_o_w_C_o_l_u_m_n(_3_X).
  50.  
  51.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  52.       Returns the RowColumn    widget ID.
  53.  
  54.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  55.       _X_m_C_r_e_a_t_e_R_a_d_i_o_B_o_x(_3_X),    _X_m_C_r_e_a_t_e_R_o_w_C_o_l_u_m_n(_3_X),
  56.       _X_m_C_r_e_a_t_e_S_i_m_p_l_e_C_h_e_c_k_B_o_x(_3_X), _X_m_R_o_w_C_o_l_u_m_n(_3_X), and
  57.       _X_m_V_a_C_r_e_a_t_e_S_i_m_p_l_e_R_a_d_i_o_B_o_x(_3_X).
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.